﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MethodWorx.Core.DomainModel;

namespace MethodWorx.CMS.Providers
{
    public interface ICmsDataProvider
    {
        void Initialize();
        T GetService<T>();

        void AddService<TInterface, TConcrete>()
            where TConcrete : TInterface;
        IUnitOfWorkFactory GetUnitOfWorkFactory();
        IRepositoryRegistry GetRepositoryRegistry();
    }
}
